build: Use pkg-config to find iso-codes
authorTing-Wei Lan <lantw@src.gnome.org>
Sat, 6 Jan 2018 19:39:22 +0000 (03:39 +0800)
committerTing-Wei Lan <lantw@src.gnome.org>
Sun, 7 Jan 2018 06:53:41 +0000 (14:53 +0800)
commit14b181ebd4c5851dc51cb468721c502addaec36c
tree99bae2b03148a4fabb0a10b0afd218104f803d6e
parent3771c95c72d591d3ed6ecf143fa85e1fea0a3d11
build: Use pkg-config to find iso-codes

Instead of hard-coding the path of iso-codes, we can get the prefix with
pkg-config. We still fallback to /usr when it is not available.

https://bugzilla.gnome.org/show_bug.cgi?id=792282
config.h.meson
demos/gtk-demo/language-names.c
gtk/language-names.c
meson.build